package com.yonyou.ucf.mdf.app.isvdxq.other.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.google.gson.Gson;
import com.yonyou.iuap.yms.param.BaseEntity;
import com.yonyou.iuap.yms.annotation.*;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@YMSEntity
@YMSTable(tableName = "dxqyy_transtype")
public class TranstypeEntity extends BaseEntity {

    private Long id;

    private String sourceid;

    private String sysid;

    private String code;

    private String name;

    @YMSColumn(name = "name_resid")
    private String name_resid;

    @YMSColumn(name = "billtype_id")
    private String billtype_id;

    @YMSColumn(name = "extend_attrs_json")
    private String extend_attrs_json;

    private Integer preset;

    private Integer enable;

    @YMSColumn(name = "is_nosupport_transtypadd")
    private Integer is_nosupport_transtypadd;

    @YMSColumn(name = "is_nosupport_transtypmodify")
    private Integer is_nosupport_transtypmodify;

    @YMSColumn(name = "is_nosupport_transtypdel")
    private Integer is_nosupport_transtypdel;

    @YMSColumn(name = "is_nosupport_transtyprefmodify")
    private Integer is_nosupport_transtyprefmodify;

    @YMSColumn(name = "is_support_workflow")
    private Integer is_support_workflow;

    @YMSColumn(name = "is_support_publish_menu")
    private Integer is_support_publish_menu;

    @YMSColumn(name = "print_after_approval")
    private Integer print_after_approval;

    @YMSColumn(name = "ytenant_id")
    private String ytenant_id;

    @YMSColumn(name = "memo_resid")
    private String memo_resid;

    private String memo;
    private int dr;

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSourceid() {
        return sourceid;
    }

    public void setSourceid(String sourceid) {
        this.sourceid = sourceid;
    }

    public String getSysid() {
        return sysid;
    }

    public void setSysid(String sysid) {
        this.sysid = sysid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName_resid() {
        return name_resid;
    }

    public void setName_resid(String name_resid) {
        this.name_resid = name_resid;
    }

    public String getBilltype_id() {
        return billtype_id;
    }

    public void setBilltype_id(String billtype_id) {
        this.billtype_id = billtype_id;
    }

    public String getExtend_attrs_json() {
        return extend_attrs_json;
    }

    public void setExtend_attrs_json(String extend_attrs_json) {
        this.extend_attrs_json = extend_attrs_json;
    }

    public Integer getPreset() {
        return preset;
    }

    public void setPreset(Integer preset) {
        this.preset = preset;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Integer getIs_nosupport_transtypadd() {
        return is_nosupport_transtypadd;
    }

    public void setIs_nosupport_transtypadd(Integer is_nosupport_transtypadd) {
        this.is_nosupport_transtypadd = is_nosupport_transtypadd;
    }

    public Integer getIs_nosupport_transtypmodify() {
        return is_nosupport_transtypmodify;
    }

    public void setIs_nosupport_transtypmodify(Integer is_nosupport_transtypmodify) {
        this.is_nosupport_transtypmodify = is_nosupport_transtypmodify;
    }

    public Integer getIs_nosupport_transtypdel() {
        return is_nosupport_transtypdel;
    }

    public void setIs_nosupport_transtypdel(Integer is_nosupport_transtypdel) {
        this.is_nosupport_transtypdel = is_nosupport_transtypdel;
    }

    public Integer getIs_nosupport_transtyprefmodify() {
        return is_nosupport_transtyprefmodify;
    }

    public void setIs_nosupport_transtyprefmodify(Integer is_nosupport_transtyprefmodify) {
        this.is_nosupport_transtyprefmodify = is_nosupport_transtyprefmodify;
    }

    public Integer getIs_support_workflow() {
        return is_support_workflow;
    }

    public void setIs_support_workflow(Integer is_support_workflow) {
        this.is_support_workflow = is_support_workflow;
    }

    public Integer getIs_support_publish_menu() {
        return is_support_publish_menu;
    }

    public void setIs_support_publish_menu(Integer is_support_publish_menu) {
        this.is_support_publish_menu = is_support_publish_menu;
    }

    public Integer getPrint_after_approval() {
        return print_after_approval;
    }

    public void setPrint_after_approval(Integer print_after_approval) {
        this.print_after_approval = print_after_approval;
    }

    public String getYtenant_id() {
        return ytenant_id;
    }

    public void setYtenant_id(String ytenant_id) {
        this.ytenant_id = ytenant_id;
    }

    public String getMemo_resid() {
        return memo_resid;
    }

    public void setMemo_resid(String memo_resid) {
        this.memo_resid = memo_resid;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public int getDr() {
        return dr;
    }

    public void setDr(int dr) {
        this.dr = dr;
    }
}
